ElasticPress\QueryLogger A

Total Complexity 51
Dependencies 1
Dependents 3
Total lines 398
Lines of code 187
Logical lines of code 97
Comment lines 152
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
format_log_entry()
A
47 8 32
update_logs()
A
49 8 31
maybe_add_notice()
S
50 7 29
is_bulk_index_error()
S
58 6 14
get_logs()
S
55 5 19
log_query()
S
56 5 17
should_log_query_type()
S
55 2 21
clear_logs()
S
67 3 8
maybe_log_delete_index()
S
73 3 4
is_query_error()
S
68 3 7
setup()
S
71 1 5